<!-- ------------------------------------------------------------ -->
<div id = 'pay_confirm' style = ''>请您在新打开的页面进行支付支付完成前请不要关闭窗口</div>
<script>
$(function(){
	$( "#pay_confirm" ).dialog({
		title:'支付确认',
		resizable: false,
		height:200,
		autoOpen:false,
		modal: true,
		close:function(){
			location.reload();
		},
	    buttons: {
	        "付款成功": function() {
	          $( this ).dialog( "close" );
	        },
	        "支付失败": function() {
	          $( this ).dialog( "close" );
	        }
		}
	});
});
showOverlay = function(){
	$( "#pay_confirm" ).dialog('open');
};
</script>
<!-- ------------------------------------------------------------ -->